<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.org/ui"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core">
<head>
</head>
<body>
	<ui:composition template="/WEB-INF/layouts/login-layout.xhtml">
		<ui:define name="windowTitle">
			Login
		</ui:define>
		<ui:define name="content">
			<div style="width: 100%; height: 550px;text-align: center; margin-left: auto;margin-right: auto;">
			<table align="center" style="padding-left: auto;padding-right: auto;">
				<tr>
					<td style="text-align: right;"><h:form id="formLogin"
							prependId="false"
							onsubmit="document.getElementById('formLogin').action = 'j_security_check';">
							<h:panelGrid columns="2" style=" width:250px ;margin: 0px auto 0px auto">

								<f:facet name="header">
									<h:graphicImage  library="images" name="login-icon.png"/>
								</f:facet>

								<h:outputLabel for="j_username" value="Username: " />
								<h:inputText id="j_username" required="true" />

								<h:outputLabel for="j_password" value="Password: " />
								<h:inputSecret id="j_password" required="true" />

								<f:facet name="footer">
									<h:commandButton value="Login" type="submit" />
								</f:facet>
							</h:panelGrid>
						</h:form></td>
				</tr>
			</table>
			</div>
		</ui:define>
	</ui:composition>
</body>
</html>